How do I print envelopes with the PCL Driver?

The system lets you include additional PCL printer commands which you can use to override both the paper size and the tray selection. For instance, you can use this technique to get an envelope feeder to work.

Just include a paper (page) size PCL command along with the paper tray PCL command. When you include a PCL paper (page) size command, the system does not emit its own paper (page) size PCL command based on the form's page size. This lets you use a page size the system does not support.

For example, suppose you want to print on #10 business envelopes (41/8 inch by 9½ inch) using an optional envelope feeder on your PCL printer. The PCL command to select a paper (page) size for printing COM-10 (Business 41/8 x 9½ inches) is shown here:

~&l81A

The PCL command to feed an envelope from an optional envelope feeder is shown here:

~&l6H

If your system contained a form for printing on an envelope and the form was specified to print from tray 4, you would use this INI setting:

< PrtType:PCL >
...
Tray4 = ~&l81A~&l6H

Because some characters are hard to distinguish, refer to this table for an explanation of the characters shown for the Tray4 field, in order:

 

Character

Description

~

A tilde

&

An ampersand

l

A lowercase L

8

The numeral eight (8)

1

The numeral one (1)

A

An uppercase A

~

A tilde

&

An ampersand

l

A lowercase L

6

The numeral six (6)

H

An uppercase H

When writing PCL commands as an INI setting, the tilde (~) is used as a substitute for the PCL escape character (x1B).

The PCL 5 Technical Reference manual contains information on PCL commands used to select paper trays and paper sizes. You can get a copy of the PCL 5 Technical Reference manual by going to www.hp.com and entering the phrase PCL technical reference in the search window.

Note   When printing envelopes, you may want to design your form (section) in landscape mode. When printing on PCL printers, there are unprintable margins on the left/right edge of ¼ inch and top/bottom edge of 1/6 inch. These unprintable margins apply when printing envelopes. Remember to account for these unprintable margins when designing your form (section).